home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr33
/
xecute10.zip
/
XEC.DOC
< prev
next >
Wrap
Text File
|
1993-05-01
|
7KB
|
180 lines
XECUTIONER Version 1.0, 1 MAY 93
- Written by -
Garry W. Elmer
K-9 BBS
CANDYNET 42:1019/1
1-203-536-1300
***********
$$$ HOW MUCH IS IT???? $$$
If you are using this software in a non-organizational
environment, it is yours to use as you see fit. If you are
using this program as part of any organization such as
corporate, government, or business related, the program is
$20.00. That is only fair.
Send Check or Moneyorder to:
Garry W. Elmer
63 Clift St.
Mystic, CT
06355
If you have ideas or require modifications to the program
to better meet your needs, please contact me via my BBS
(listed above).
WARRANTY
Every effort was taken to ensure a quality program. However,
because of the there's no way to anticipate all the different
ways this program can, or will be used, or on what equipment
it may be used, I make no guarantees or warranties of any
kind, nor will I hold responsibility for any type of damage
caused by this program.
As always: BACK UP!
OVERVIEW
XECUTIONER was originally written to monitor the creation
of data files on a mainframe, via ETHERNET, and
automatically move the files down to a PC for modification
then return them to the mainframe for further action. It
was executed in a DOS window under WINDOWS and allowed the
PC to be used for other things while waiting to service the
mainframe.
XECUTIONER is a simple little program designed to meet a
variety of requirements. Basically, XECUTIONER will look
in a designated directory for creation of a specified file
or group of files. Upon finding a file meeting the
designated criteria, XECUTIONER will execute various
commands or spawn selected programs, then return to a
search condition.
XECUTIONER can run in the "background" under WINDOWS or
DESQVIEW and monitor network volumes or the output of other
programs running in other "windows" and take care of just
about any task you could want.
CONFIGURING XECUTIONER
The XECCFG.EXE program creates the XEC.CFG program used by
XECUTIONER.
Selections:
DETECT DELAY (In Seconds):
This is the search delay, in seconds, for how often
XECUTIONER will check for the target file. Can be just
about any length from 1 second on up. Can be varied to
keep network "overhead" to a minimum.
ENABLE DELAY (In Seconds):
This is the delay, in seconds, from time of detect until
the user selected commandlines are executed. Since
XECUTIONER ignores file sharing and such, this delay should
be set liberally to allow for the file to be created
completely before the user commandlines are executed.
TARGET DIRECTORY:
Complete path to the directory where the TARGET file(s) are
to be found.
EXAMPLE: "C:\DATA"
TARGET FILE:
File name of the file that is going to trigger XECTIONER.
WILDCARDS can be used.
EXAMPLE:
TEST.DAT
*.DAT
SAMPLE.*
If the TARGET DIRECTORY is "C:\DATA" and TARGET FILE is
"SAMPLE.DAT", XECUTIONER will trigger on the creation of
"C:\DATA\SAMPLE.DAT". If the TARGET file was "*.DAT"
the creation of any file with the extension "DAT" would
trigger XECUTIONER.
DOS COMMANDLINEs 1,2,3,4 and ENABLE COMMANDLINE.
These commandlines will be executed in the order shown in
the configuration program. If a SPACE is entered for the
first character in the commandline, the line will be
deleted and ignored.
DOS COMMANDLINE-
Each of these 4 lines can contain any DOS command, such
as DEL, COPY, or path and name of a batch file such as
"C:\TEST\ACTION.BAT". Things like "COPY C:\TEST\*.DAT
Z:\" can be used, etc.
ENABLE COMMANDLINE-
This line of for the spawning of a program. The DOS
commandlines can only call DOS commands or execute batch
files. This line can execute any program and should
contain the complete path to the program and any
commandline switches required.
COMMANDLINE Variables %1, %2, and %3.
These variables are created by XECUTIONER and can be
added to either the DOS or ENABLE COMMANDLINES.
%1 = TARGET DIRECTORY PATH Ex. "C:\TEST"
%2 = TARGET FILE NAME Ex. "SAMPLE.DAT"
%3 = TARGET PATH & FILE NAME Ex. "C:\TEST\SAMPLE.DAT"
NOTE: If a WILDCARD is used in the TARGET FILE NAME, the
name of the file actually found will be passed in %2 and
%3.
Example:
TARGET FILE NAME - "*.DAT"
File created - "NUMERIC.DAT"
%2 would be "NUMERIC.DAT".
Example:
ENABLE COMMANDLINE - "C:\DATA\TEST.EXE %2"
Executed- C:\DATA\TEST.EXE NUMERIC.DAT
DOS COMMANDLINE - "COPY C:\DATA\%2 Z:\"
Executed- "COPY C:\DATA\NUMERIC.DAT Z:\"
Note: The variables %1, %2, and %3 will not be passed
INSIDE of a batch file call from a DOS COMMANDLINE.
The COMMANDLINE Variables displayed at the bottom of the
XECCONFIG program window are the updated as the TARGET
PATH and TARGET FILE selections are changed.
F1 will cause the configuration to be saved and ESC will
cause the program to be exited without change.
XEC.EXE -
Once the configuration, XEC.CFG has been created, XEC.EXE
can be run. The XEC.CFG must be in the same directory as
XEC.EXE. XEC.EXE may be executed from a DOS window under
WINDOWS, a DESQVIEW window, or from the DOS prompt. The
program itself takes up under 30K of RAM. The program
gives a simple display and can be terminated with the ESC
key. XECUTIONER will not terminate after a commandline
sequence but will recycle and wait for the next
commandline sequence.